/*
 * Conjunction.h
 *
 *  Created on: Apr 29, 2012
 *      Author: kobe
 */

#ifndef CONJUNCTION_H_
#define CONJUNCTION_H_

#include "Proposition.h"
#include <string>

class Conjunction: public Proposition {
public:
	Conjunction(std::string);
	Conjunction(Proposition*, Proposition*);
	virtual ~Conjunction();
	std::string toString();
	std::string toLatex();
	bool compare(Proposition* );
    Proposition *getLeft() const;
    Proposition *getRight() const;
    bool isAction();


private:
	Proposition* mLeft;
	Proposition* mRight;
	bool mIsAction;
};

#endif /* CONJUNCTION_H_ */
